package model.GsonMapping;

import java.util.UUID;

import model.Case;
import model.Criterion;
import model.Value;

public class ComponentWithValue 
{
	private Criterion criterion;
	private Case caso;
	private Value value;
	private UUID methodID;
	private UUID metAppID;
	
	//TODO: REmove this method maybe afterwards...Check if it can really be removed.
	/*public ComponentWithValue(Value value, UUID methodID, UUID metAppID)
	{
		setValue(value);
		setMethodID(methodID);
		setMetAppID(metAppID);
	}*/
	
	public ComponentWithValue(Value value, UUID methodID, UUID metAppID, Case caso)
	{
		setValue(value);
		setMethodID(methodID);
		setMetAppID(metAppID);
		setCaso(caso);
	}
	
	public ComponentWithValue(Value value, UUID methodID, UUID metAppID, Criterion crt)
	{
		setValue(value);
		setMethodID(methodID);
		setMetAppID(metAppID);
		setCriterion(crt);
	}
	
	public Case getCaso() {
		return caso;
	}
	
	public void setCaso(Case caso) {
		this.caso = caso;
	}
	
	public Criterion getCriterion() {
		return criterion;
	}
	public void setCriterion(Criterion criterion) {
		this.criterion = criterion;
	}
	public UUID getMetAppID() {
		return metAppID;
	}
	public void setMetAppID(UUID metAppID) {
		this.metAppID = metAppID;
	}
	
	public Value getValue() {
		return value;
	}
	public void setValue(Value value) {
		this.value = value;
	}
	public UUID getMethodID() {
		return methodID;
	}
	public void setMethodID(UUID methodID) {
		this.methodID = methodID;
	}
}
